<template>
  <div>
    <h2>Child2</h2>
    {{ book }}
    数量:{{ count }}
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
let book = ref("Vue 3 入门");
let count = ref(10);
defineExpose({
  book,
  count,
});
</script>

<style scoped></style>
